package com.zmzncs.lmtc.module.park.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.park.pojo.park_entrance.ParkEntrance;
import com.zmzncs.lmtc.module.park.pojo.park_entrance.ParkEntranceDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author JD
 * @since 2020-11-09
 */
@Repository
public interface ParkEntranceDao extends BaseMapper<ParkEntrance> {
    /**查询停车场道闸信息 */
    List<ParkEntranceDTO> getEntranceList( @Param("entranceCode")String entranceCode, @Param("roadWayCode")String roadWayCode);

    /**删除停车场通道道闸信息*/
    void deleteEntranceByParkId(Long parkId);

}
